package com.graduation.model;

import java.io.Serializable;

/**
 * @Description 促销活动实体类
 * @Author YaoQi
 * @Date 2018/3/13 16:36
 */
public class PromotionEntity implements Serializable {

    private int ID;
    private String title; // 活动标题
    private String description; // 活动描述
    private String typeId; // 活动类型
    private int status; // 活动状态
    private String picture; // 活动首页图片
    private String Url; // 活动地址
    private int productId; // 商品ID
    private int sellerId; // 商家ID
    private double originalPrice; // 原价
    private double currentPrice; // 当前价格
    private long publishTime; // 发布时间
    private long endTime; // 结束时间
    private int salesVolume; // 销量
    private long createTime; // 创建时间
    private int createUser; // 创建人
    private long updateTime; // 最近更新时间
    private int updateUser; // 最近更新人

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getUrl() {
        return Url;
    }

    public void setUrl(String url) {
        Url = url;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getSellerId() {
        return sellerId;
    }

    public void setSellerId(int sellerId) {
        this.sellerId = sellerId;
    }

    public double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public double getCurrentPrice() {
        return currentPrice;
    }

    public void setCurrentPrice(double currentPrice) {
        this.currentPrice = currentPrice;
    }

    public long getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(long publishTime) {
        this.publishTime = publishTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public int getSalesVolume() {
        return salesVolume;
    }

    public void setSalesVolume(int salesVolume) {
        this.salesVolume = salesVolume;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public int getCreateUser() {
        return createUser;
    }

    public void setCreateUser(int createUser) {
        this.createUser = createUser;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public int getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(int updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        return "PromotionEntity{" +
                "ID=" + ID +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", typeId='" + typeId + '\'' +
                ", status=" + status +
                ", picture='" + picture + '\'' +
                ", Url='" + Url + '\'' +
                ", productId=" + productId +
                ", sellerId=" + sellerId +
                ", originalPrice=" + originalPrice +
                ", currentPrice=" + currentPrice +
                ", publishTime=" + publishTime +
                ", endTime=" + endTime +
                ", salesVolume=" + salesVolume +
                ", createTime=" + createTime +
                ", createUser=" + createUser +
                ", updateTime=" + updateTime +
                ", updateUser=" + updateUser +
                '}';
    }
}
